package com.mm;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@EnableEurekaClient
// swagger3.0 需加入此注解
@EnableWebMvc
@EnableOpenApi
public class CMailApplication {

    private final static Logger logger = LoggerFactory.getLogger(CMailApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(CMailApplication.class, args);
        logger.info("=============================================================================");
        logger.info("============================邮件服务模块启动成功================================");
        logger.info("=============================================================================");
    }

}
